@charset "utf-8";
@bgcolor:rgb(247,247,250);
@bgcolor2:rgb(34,34,34);
@bgcolor3:#fff;

*{
    margin: 0;
    padding: 0;
}
body{
    padding-top: 120px;
}

// 头部导航
nav{
    background-color: @bgcolor2;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 20;
    >.wrapper{
        height: 36px;
        width: 1248px;
        padding: 8px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        >div>a{
        color: white;
        text-decoration: none;
        font-size: 12px;  
        }
        >.nav-left>a{
            margin-right: 18px;
        }
        >.nav-right{
            >a{
                padding: 0 12px;
            }
            >.down-a{
                border-right: 1px solid #fff;
                position: relative;
                &:hover .down-logo{
                    display: block;
                }
                >.down-logo{
                    position: absolute;
                    top: 24px;
                    border: 1px solid #ccc;
                    background-color:#fff ;
                    width: 150px;
                    padding: 3px;
                    border-radius: 8px;
                    display: none;
                    box-shadow: 0 0 1px 1px #ccc;
                    >img{
                        width: 140px;
                        padding: 5px;
                        border-radius: 10px;
                        z-index: 3;
                    }
                    >p{
                        font-size: 12px;
                        text-align: center;
                        color: #000;
                    }
                }
            }
            >a:nth-child(3){
                border-right: 1px solid #fff;
                border-left: 1px solid #fff;
            }
            
        }
    }
}

// 头部导航第二部分
.nav2{
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 2;
    background-color: #fff;
    >.wrapper{
        width: 1248px;
        height: 84px;
        margin: 0 auto;
        padding: 8px;
        display: flex;
        justify-content: space-between;
        >.nav2_l{
            >a{
                text-decoration: none;
                color:#000;
                font-size: 14px;
                line-height: 68px;
                padding: 22px;
            }
            .nav_logo{
                height: 50px;
                width: auto;
                padding-right:30px;
                margin-left: -22px;
                position: relative;
            }
        }
        .nav2_r{
            display: flex;
            align-self: center;
            height: 36px;
            padding: 8px 16px;
            background-color:rgb(246,246,246);
            border-radius: 20px;
            >input{
                width: 128px;
                height: 20px;
                border: 0;
                outline: 0;
                background-color: transparent;   
            }
            input::-webkit-input-placeholder{
                color: #dedede;
            }
        }
    }
}

// 主体部分
main{
    background: rgb(250, 250, 250);
    >.wrapper{
        width: 1248px;
        margin: auto;
        padding: 8px;
        >.main1{
            display: flex;
            background: #fff;
            padding: 0 26px;
            margin-bottom: 12px;
            >div:first-child,div:nth-child(2){
                align-items: center;
                cursor: pointer;
                display: flex;
                flex: 0 1 auto;
                font-size: .875rem;
                font-weight: 500;
                justify-content: center;
                line-height: normal;
                min-width: 90px;
                max-width: 360px;
                padding: 0 16px;
                position: relative;
                text-align: center;
                text-decoration: none;
                text-transform: uppercase;
                user-select: none;  
                height: 62px;
                color: rgb(243, 65, 65);              
            }
            >div:last-child{
                height: 4px;
                left: 0px;
                width: 106px;
                bottom: 0;
                margin: 0!important;
                position: absolute;
                transition: .3s cubic-bezier(.25,.8,.5,1);
                z-index: 1;                
            }
        }

        >.main2{
            height: 64px;
            background: #fff;
            border-radius: 2px;
            padding: 0 33px;
            font-size: 16px;
            color: #343a40;
            line-height: 24px;
            margin-bottom: 12px;
            >div{
                height: 64px;
                display: flex;
                align-items: center;
                text-align: center;
                >div{
                    flex: 1;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    text-align: center;
                    >div{
                        width: (5/12)*100%;
                        height: 64px;
                    }
                    >span{
                        flex: 1;
                    }
                }
            }
        }
        >.main3{
            >.main3-wrapper{
                background-color: #fff;
                padding: 19px 28px;
                display: flex;
                align-items: center;
                >.main3-l{
                    display: flex;
                    align-items: center;
                    margin-right: 24px;
                    >div>input{
                        font-size: 16px;
                        margin-right: 20px;
                    }
                    >div>img{
                        width: 100px;
                    }
                }
                >.main3-r{
                    flex: 1;
                    display: flex;
                    flex-wrap: wrap;
                    >.main3-r-1{
                        width: 100%;
                        height: 50%;
                        display: flex;
                        align-items: center;
                        padding-bottom: 12px;
                        border-bottom: 1px solid #ccc;
                        >.shop-title{
                            width:37%;
                            >p{
                                display: block;
                                font-size: 16px;
                                font-weight: 500;
                                color: #343a40;
                                line-height: 22px;                            
                            }
                            >span{
                                display: inline-block;
                                background-color: rgba(246,52,52,.08);
                                font-size: 12px;
                                font-weight: 400;
                                color: #f34141;
                                line-height: 24px;
                                padding: 0 8px;                            
                            }
                        }
                        >.shop-d{
                            flex: 1;
                            display: flex;
                            align-items: center;
                            >div:first-child{
                                height: 18px;
                                font-size: 18px;
                                font-weight: 500;
                                color: #343a40;
                                line-height: 18px;                            
                            }
                            >div:nth-child(2){
                                font-size: 14px;
                                color: #333;
                                line-height: 17px;
                                text-align: center;
                                >input{
                                    border: 0;
                                    outline: none;
                                    width: 32px;
                                    text-align: center;
                                }
                                >button{
                                    border: 0;
                                    outline: none;
                                    width: 18px;
                                    height: 18px;
                                }
                                >p{
                                    height: 14px;
                                    font-size: 14px;
                                    color: #343a40;
                                    opacity: .5;
                                    line-height: 14px;
                                    margin-top: 6px;                                
                                }
                            }
                            >div{
                                flex: 1;
                                text-align: center;
                            }
                            >div:nth-child(3){
                                height: 18px;
                                font-size: 18px;
                                font-weight: 500;
                                color: #343a40;
                                line-height: 18px;                             
                            }
                            >div:last-child{
                                >div{
                                    cursor: pointer;
                                    height: 14px;
                                    font-size: 14px;
                                    font-weight: 500;
                                    color: #333;
                                    line-height: 14px;
                                    opacity: .6;
                                    margin-bottom: 16px;
                                }                         
                            }
                        }

                    }
                    >.main3-r-2{
                        width: 100%;
                        height: 50%;
                        display: flex;
                        align-items: center;
                        >div:first-child{
                            display: flex;
                            align-items: center;
                            width: 42.16%;
                            >span{
                                text-align: center;
                                width: 44px;
                                height: 24px;
                                background: #ffeacd;
                                font-size: 12px;
                                color: #ec6c15;
                                line-height: 24px;                            
                            }
                            >img{
                                width: 48px;
                                height: 48px;
                            }
                        }
                        >div:nth-child(2){
                            height: 24px;
                            font-size: 14px;
                            font-weight: 400;
                            color: #343a40;
                            line-height: 24px;
                            width: 16.6666666667%;
                        }
                        >div:last-child{
                            font-size: 14px;
                            font-weight: 400;
                            color: #343a40;
                            opacity: 0.8;
                            line-height: 24px;
                            width: 16.6666666667%;                  
                        }
                    }
                }          
            }
        }
    }
}

footer{
    >.wrapper{
        width: 1248px;
        margin: auto;
        padding: 8px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #fff;
        height: 108px;
        >div:first-child{
            display: flex;
            align-items: center;
            >input{
                margin: 0 8px 0 0;
            }
            >span{
                color: rgba(0,0,0,.6);                
            }
        }
        >div:last-child{
            display: flex;
            align-items: center;
            >div:first-child{
                margin-right: 40px;
                >span{
                    height: 22px;
                    font-size: 16px;
                    color: #343a40;
                    line-height: 22px;                    
                }
                >i{
                    font-size: 18px;
                    margin-right: 4px!important;
                    font-weight: 500;
                    color: #f24142;
                    line-height: 28px;
                    font-style: normal;                 
                }
                >b{
                    font-size: 28px;
                    font-weight: 500;
                    color: #f24142;
                    line-height: 28px;                    
                }
            }
            >button:last-child{
                height: 48px;
                width: 156px;
                background-color: rgb(243, 65, 65);
                border: 0;
                outline: none;
                color: #fff;
                border-radius:28px;              
            }
        }
    }
}